package com.dt.common.validation.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 支持CharSequence Collection Map Array
 * 
 * @author wangfeng
 *
 */
@Target({ ElementType.FIELD })
@Retention(RetentionPolicy.RUNTIME)
public @interface Size {

	String msg() default "大小必须介于${min}到${max}";

	int min() default 0;

	int max() default Integer.MAX_VALUE;
}
